package utils

import (
	"os"

	"github.com/kylelemons/go-gypsy/yaml"
)

var Config *yaml.File

func init() {
	var err error
	Config, err = yaml.ReadFile("../conf/conf.yaml") //正式
	//Config, err = yaml.ReadFile("conf/conf.yaml")
	if err != nil {
		MyPrint(PRINT_ERROR, err.Error())
		os.Exit(1)
	}
}
